package cn.rick.service.impl;

import cn.rick.entity.SysMenu;
import cn.rick.mapper.SysMenuMapper;
import cn.rick.service.ISysMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 菜单权限表 服务实现类
 * </p>
 *
 * @author house_store
 * @since 2022-10-19 14:39:46
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements ISysMenuService {

    @Override
    public List<SysMenu> selectAllByUserId(Long userId) {
        return baseMapper.selectAllByUserId(userId);
    }
}
